Iso78.ExchangeApdu

This command sends an APDU command on the currently selected and opened SAM module using a logical ID. Please note that the complete APDU command including the CLA, INS, P1, P2, Lc and Le values need part of the SendData parameter.

Properties

Parameters (request frame)

Name Type/Size Description
SamHandle Integer (8 bits) Identifier for SAM communication (use SAM_Handle value returned by the Iso78.OpenSam command).
Length of SendData Integer (16 bits) Length of SendData in bytes
SendData Raw data APDU command data including CLA, INS, P1, P2, Lc and Le.

Returned values (response frame)

Name Type/Size Description
Length of RecvData Integer (16 bits) Length of RecvData in bytes
RecvData Raw data APDU response data.